package org.dtrd.modules.shop.service;

import com.alibaba.fastjson.JSONObject;
import org.dtrd.modules.doctor.entity.bean.DoctorInfo;
import org.dtrd.modules.shop.entity.po.DtrdEntShcRdGlucometerGet;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import org.dtrd.modules.shop.entity.bean.GlucometerGetDetail;
import org.dtrd.modules.shop.entity.bean.GlucometerGetListInfo;
import org.dtrd.modules.shop.entity.bean.GlucometerGetListRequest;
import org.dtrd.modules.shop.entity.bean.GlucometerGetPageRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.dtrd.modules.shop.entity.po.DtrdEntShcRdOrder;
import org.dtrd.modules.shop.entity.request.GlucometerPhotoRequest;

/**
 * <p>
 * 血糖仪领用表服务类
 * </p>
 *
 * @author xiao
 * @since 2022-06-29
 */
public interface IDtrdEntShcRdGlucometerGetService extends IService<DtrdEntShcRdGlucometerGet> {

    List<GlucometerGetListInfo> getGlucometerGetList(GlucometerGetListRequest request);

    IPage<GlucometerGetListInfo> pageGlucometerGet(GlucometerGetPageRequest request);

    GlucometerGetDetail getGlucometerGet(Integer dataId);

    boolean saveOrUpdateGlucometerGet(GlucometerGetDetail dto);

    boolean removeGlucometerGet(Integer dataId);

    boolean saveOldGlucometerPhoto(GlucometerPhotoRequest request);

    JSONObject addGetRecord(DtrdEntShcRdOrder order, DoctorInfo doctorInfo);
}
